package com.xcy.service;

import java.util.List;

import com.xcy.dto.User;

public interface IUserService {

    public User getUserById(int userId);

    public void insertUser(User user);

    public void addUser(User user);

    public List<User> getAllUser();

    public void deleteUserById(int id);

    public void updateUser(User user);
}